package com.hakim.wfb.customer.params.trans;

import com.hkfs.fundamental.api.params.SessionParameter;

import javax.validation.constraints.NotNull;

/**
 * 增值投资参数
 */
public class PlaceOrderParameter extends SessionParameter {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @NotNull(message = "用户ID不能为空")
    private String userId;

    /**
     * 消费规则ID
     */
    private String ruleId;

    /**
     * 原始积分
     */
    public double originalPoint;

    /**
     * 复投积分
     */
    public double repeatPoint;

    /**
     * 投资积分
     */
    private double investPointAmount;

    private String payPassword;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    public double getOriginalPoint() {
        return originalPoint;
    }

    public void setOriginalPoint(double originalPoint) {
        this.originalPoint = originalPoint;
    }

    public double getRepeatPoint() {
        return repeatPoint;
    }

    public void setRepeatPoint(double repeatPoint) {
        this.repeatPoint = repeatPoint;
    }

    public double getInvestPointAmount() {
        return investPointAmount;
    }

    public void setInvestPointAmount(double investPointAmount) {
        this.investPointAmount = investPointAmount;
    }

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword;
    }
}
